package com.esd.db.service;

import java.util.List;
import java.util.Map;

import com.esd.db.model.InspectorMarkTimeRecord;

public interface InspectorMarkTimeRecordService {

	int saveOne(InspectorMarkTimeRecord imtr);
	
	/**
	 * 查询 初审审核标注时间
	 * @param workerId
	 * @param uploadUUID
	 * @param sendBackType
	 * @param unqualifiedTaskIds
	 * @return
	 */
	double queryFirstInspectorMarkTime(int workerId, String uploadUUID, int sendBackType,
			int[] unqualifiedTaskIds, int taskEffective);
	
	/**
	 * 查询 巡审审核注时间
	 * @param recordIds
	 * @return
	 */
	double querySecondInspectorMarkTime(List<Integer> recordIds);
	
	/**
	 * 查询 巡审--快速审核注时间
	 * @param packId
	 * @param workerIds
	 * @param taskEffective
	 * @return
	 */
	double queryQuickInspectorMarkTime(int packId, int[] workerIds, int taskEffective);

	List<Map<String, Object>> queryInspectionMarkTimeRecordListByConditions(Map<String, Object> conditions);
	
	
}
